package main;
import java.util.ArrayList;
import org.jsoup.nodes.Document;

/***
 * WebPage holds a Web Page Object
 * @version 5-11-2012
 * @author T. Lewis & Ken Norton BitWiseGuys.
 * 
 * */
public class WebPage {
	private String my_Url;
	private Document my_doc;
	private int my_NumLinks;
	private ArrayList<String> my_Links;
	private long my_parseTime;

	public WebPage(String my_url2, Document the_text) {
		my_Url = my_url2;
		my_doc = the_text;
		my_NumLinks = 0;
		my_Links = new ArrayList<String>();
		set_ParseTime(0);
	}		
	public Document getDoc(){
		return my_doc;
	}
	public String getURL(){
		return my_Url;
	}

	public int getNumLinks(){
		return my_NumLinks;
	}
	public void setLinks(int the_NumLinks){
		my_NumLinks = the_NumLinks;
	}
	public ArrayList<String> getLinkList(){
		return my_Links;
	}
	public void setLinkList(ArrayList<String> the_Links){
		my_Links = the_Links;
	}
	public long get_ParseTime() {
		return my_parseTime;
	}
	public void set_ParseTime(long the_parseTime) {
		this.my_parseTime = the_parseTime;
	}
}

